package com.example.sql_2_code_demo.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * 购物车表(OrderCartItem)实体类
 *
 * @author makejava
 * @since 2022-10-09 10:01:35
 */
public class OrderCartItem implements Serializable {
    private static final long serialVersionUID = -44421382504391007L;
    /**
     * 主键id
     */
    private Long id;
    /**
     * 产品spu ID
     */
    private Long goodsSpuId;
    /**
     * 产品sku ID
     */
    private Long goodsSkuId;
    /**
     * 用户ID
     */
    private Long userId;
    /**
     * 商品数量
     */
    private Integer goodsQuantity;
    /**
     * 套餐时长id
     */
    private Long specTimeValueId;
    /**
     * 商品属性值id
     */
    private Long goodsAttrValId;
    /**
     * 启用禁止状态：0->启用；1->禁止；2->可见的删除
     */
    private Integer status;
    /**
     * 删除状态：0->未删除；2->已删除
     */
    private Integer isDeleted;
    /**
     * 提交时间
     */
    private Date createTime;
    /**
     * 修改时间
     */
    private Date updateTime;
    /**
     * 创建人ID
     */
    private Long createUser;
    /**
     * 更新人ID
     */
    private Long updateUser;
    /**
     * 租户ID
     */
    private String tenantId;
    /**
     * 部门ID
     */
    private Long createDept;
    /**
     * 对spu的图片image_home地址的快照
     */
    private String imageUrl;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getGoodsSpuId() {
        return goodsSpuId;
    }

    public void setGoodsSpuId(Long goodsSpuId) {
        this.goodsSpuId = goodsSpuId;
    }

    public Long getGoodsSkuId() {
        return goodsSkuId;
    }

    public void setGoodsSkuId(Long goodsSkuId) {
        this.goodsSkuId = goodsSkuId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getGoodsQuantity() {
        return goodsQuantity;
    }

    public void setGoodsQuantity(Integer goodsQuantity) {
        this.goodsQuantity = goodsQuantity;
    }

    public Long getSpecTimeValueId() {
        return specTimeValueId;
    }

    public void setSpecTimeValueId(Long specTimeValueId) {
        this.specTimeValueId = specTimeValueId;
    }

    public Long getGoodsAttrValId() {
        return goodsAttrValId;
    }

    public void setGoodsAttrValId(Long goodsAttrValId) {
        this.goodsAttrValId = goodsAttrValId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    public Long getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(Long updateUser) {
        this.updateUser = updateUser;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public Long getCreateDept() {
        return createDept;
    }

    public void setCreateDept(Long createDept) {
        this.createDept = createDept;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

}

